package com.qujia.station.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class OutboundRecordsDetailsDto {

    private Long outboundDetailsId;

    @NotNull(message = "请选择商品")
    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "商品编码")
    private String commodityCode;

    @ApiModelProperty(value = "商品条码")
    private String barCode;

    @ApiModelProperty(value = "分类id")
    private Long categoryId;

    @ApiModelProperty(value = "非油品分类名称")
    private String categoryName;

    @ApiModelProperty(value = "单位")
    private String unit;

    @ApiModelProperty(value = "可用库存")
    private Long inventory;

    @ApiModelProperty(value = "调拨数量")
    private Long inventoryQuantity;

    @ApiModelProperty(value = "单价")
    private BigDecimal salePrice;

    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;
}
